import java.util.Arrays;
import java.util.List;

public class Test {
    public static void main(String[] args) {
        BinaryTree binaryTree = new BinaryTree();
        BinaryTree.TreeNode root = binaryTree.createTree();

        binaryTree.preOrder(root);
        System.out.println();
        System.out.println("===================");
        binaryTree.preorderTraversal(root);
        System.out.println();
        System.out.println("===================");

        binaryTree.inOrder(root);
        System.out.println();
        System.out.println("===================");
        binaryTree.inorderTraversal(root);
        System.out.println();
        System.out.println("===================");

        binaryTree.postOrder(root);
        System.out.println();
        System.out.println("===================");
        binaryTree.postderTraversal(root);
        System.out.println();
        System.out.println("===================");

        List<List<Character>> ret = binaryTree.levelOrder(root);
        System.out.print(ret);
    }
}
